package com.vn.ducktohome.utils;

public class PackerUtils {
	private static int PLATFORM = 0;

	private static final int DESKTOP = 0;
	private static final int ANDROID = 1;

	public static String PATH_TEXTUREPACKER;
	public static String PATH_SKINPACKER;
	private static final String PATH_TEXTUREPACKER_DESKTOP = "../DuckToHome-android/assets/MyDataPacker/MoTa.txt";
	private static final String PATH_TEXTUREPACKER_ANDROID = "MyDataPacker/MoTa.txt";
	private static final String PATH_SKINPACKER_DESKTOP = "../DuckToHome-android/assets/MySkinPacker/uiskin.json";
	private static final String PATH_SKINPACKER_ANDROID = "MySkinPacker/uiskin.json";
	
	public static void initPath() {
		if (PLATFORM == DESKTOP) {
			PATH_TEXTUREPACKER = PATH_TEXTUREPACKER_DESKTOP;
			PATH_SKINPACKER = PATH_SKINPACKER_DESKTOP;
		} 
		else if (PLATFORM == ANDROID) {
			PATH_TEXTUREPACKER = PATH_TEXTUREPACKER_ANDROID;
			PATH_SKINPACKER = PATH_SKINPACKER_ANDROID;
		}
	}
}
